package com.impossible.chan;

public class PriceUtil {

    public static void main(String[] args) {
        Double price1 = 26.005;
        Double price2 = 21.059;
        Double price618 = (price1 - price2)*0.618+price2;
        Double price382 = (price1 - price2)*0.382+price2;
        System.out.println("618价格为" + price618);
        System.out.println("382价格为" + price382);
    }
}
